Skip to content

feat: long menus stop at three quarters of the window and show that more rows are below (0.63.0) - #31

Merged
nodemode-ai merged 3 commits into
mainfrom
fix/menu-under-bar-0.63.0
Nov 30, 2026
Merged

nodemode-ai merged 3 commits into
mainfrom
fix/menu-under-bar-0.63.0

Conversation

@nodemode-ai

Copy link
Copy Markdown
Collaborator

feat: long menus stop at three quarters of the window and show that more rows are below (0.63.0)

Summary

  • Every menu opened from a button or a row (top bar, toolbars, database, block and comment menus, the sidebar's right-click and keyboard page and team menus), the breadcrumb's "Pages at this level" hover menu and the slash and @ lists now stop at three quarters of the window and scroll the rest. Before, they grew from CSS to the window height less 16 px, so a long one could fill the window from 8 px under its top.
  • form.md has no in-window menu bar (group D of FORM-MENU-OVERLAP-FIX 1.2.0), so only section 3b applies: the floor is the window top (4 px), and a menu that opens downward from the top bar or a role="toolbar" element in the top half of the window hangs from that anchor's bottom edge, so it never flips or clamps over its toolbar. Right-click and caret menus keep their placement, flip included.
  • The cap is an inline max-height set before the menu is appended and measured, and again on window resize with no rows rebuilt (the crumb hover menu closes on resize instead).
  • A cut-off menu shows the more-below hint: the rows fade into the card and a small glass pill sits at the bottom, on from the first painted frame, gone at the last row (160 ms), back when scrolled up (490 ms), no fade with reduced motion. The rows moved into a .menu__list scroller inside the card; the pill uses --glass-bg, --glass-border and --text-secondary.
  • tools/bundlecheck's start budget goes from 268 to 269 KB: the menu and popover chunks load up front and the start bundle is now 268.4 KB, so make web and make release would fail at 268. Please check this is acceptable.

Commits

  • feat: long menus stop at three quarters of the window and show that more rows are below
  • chore(bundlecheck): a 269 KB start budget for the menu hint
  • chore(release): v0.63.0 (0.63.0)

Version

v0.63.0 (release commit is last). Bumped: Makefile VERSION, internal/app/version.go, web/package.json, the two own-version fields in web/package-lock.json, src-tauri/Cargo.toml, src-tauri/tauri.conf.json, form-md-desktop in src-tauri/Cargo.lock, the README badge, docs/EXTENSIONS.md, the wiki's Home and Releases, and the three HASHOUT_LOG headers. The demo, demos/views and demos/publish are rebuilt with their README commands. There is no CHANGELOG.md.

Checks

  • npm run build in web (tsc for both configs, then vite build): clean.
  • go run ./tools/bundlecheck: 268.4 KB gzip up front, over the old 268 KB budget, within 269.
  • go run ./tools/wikicheck: 23 pages agree with the code. go test ./internal/app/: ok.
  • Demo rebuilds (demo, demos/publish, demos/views): built without errors.
  • menuprobe on the rebuilt demo/ (served over http, CPU slowed 4 times): Outline at 1280x800 top 469, 68 tall, fits, no hint; at 1000x480 top 365, 68 tall, no hint. Export Markdown at 1000x120: top 8, 90 tall (75% of 120), bottom 98, hint on with the pill at opacity 1 when it opened, hint off and the pill at 0 at the last row. The lowest top in any frame was 2 px above the final top, which is the menu's existing translateY(-2px) open animation.

Not run: the app itself in a browser (it needs the Go server and a sign-in), so the top bar menus, the sidebar right-click menu, the crumb menu and the slash and @ lists were not measured; no before numbers from origin/main; the 4-size matrix; the hint timings at 1871x1080; End and Home and arrow-key checks; the demos opened from file://; tests/window/test_window.py; the full go test ./.... DOM law: the hint state was checked under 4x throttling only through menuprobe's frame sampling on one demo menu, not on the app.

Merging

Merge with a merge commit so each commit and its signature stays. Do not squash.

v0.63.0: long menus, right-click menus, the breadcrumb's page list and
the slash and @ lists stop at three quarters of the window and scroll,
a menu from the top bar or a toolbar opens under it, and a fade with a
small pill shows while more rows are below. The demo, demos/views and
demos/publish are rebuilt so they carry it.

The TypeScript check, the web build with bundlecheck (268.4 KB of the
269 KB budget), wikicheck and go test ./internal/app pass at this commit.
@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner November 30, 2026 23:22
@nodemode-ai
nodemode-ai merged commit d08b182 into main Nov 30, 2026
3 checks passed
@nodemode-ai
nodemode-ai deleted the fix/menu-under-bar-0.63.0 branch November 30, 2026 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant